package com.chen.bpsptsystem.common;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @CLASSNAME TimeUtils
 * @DESCRIPTION 描述
 * @AUTHOR chen
 * @DATE 2018-11-17 11:33
 **/
public class TimeUtils {

    public String timeToString(Date date){
        SimpleDateFormat sdf =  new SimpleDateFormat( "yyyy-MM-dd" );
        return sdf.format( date );
    }
}
